/*
 * Copyright (c) 2015 /3 /29
 * 	      6 :22 : 14
 *               By: wupeiji
 *               Q  Q:757671834
 * 	      It is not easy to meet each other in such a big world
 */

package spring.security.maven.serviceImp;

import org.springframework.stereotype.Repository;
import spring.security.maven.dao.T_userMapper;
import spring.security.maven.daomain.T_user;
import spring.security.maven.service.UserService;

import javax.annotation.Resource;

/**
 * Created by wpj on 2015/3/26.
 * 作者：吴培基
 */
@Repository
public class UserServiceImpl implements UserService {
    @Resource
    private T_userMapper t_userMapper;
    @Override
    public T_user selectByUserName(String userName) {
        return t_userMapper.selectByUserName(userName);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return 0;
    }

    @Override
    public int insert(T_user record) {
        return 0;
    }

    @Override
    public int insertSelective(T_user record) {
        return 0;
    }

    @Override
    public T_user selectByPrimaryKey(Integer id) {
        return t_userMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(T_user record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(T_user record) {
        return 0;
    }

}
